Interface FileManager

All Superinterfaces:
IPCObject, Process
All Known Implementing Classes:
FileManagerImpl

public interface FileManager extends Process
Information provided by the PKI file:

    \class FileManager
    
    \brief FileManager holds and manipulates the file manager process on routers and switches.
    
    \example network().getDevice("Router0").getProcess("FileManager")
    
Author:
Auto-generated
  • Method Details

    • getFileSystem

      FileSystem getFileSystem(String name)
      Information provided by the PKI file:
      
          \brief Returns the file system with the specified name.
          
          \param name,        the name of the file system.
          SimFile systems: flash:, nvram:
          
          \return FileSystem, the FileSystem object with the specified name.
          
              
      Parameters:
      name - Takes in a parameter of name
      Returns:
      FileSystem Returns a FileSystem
    • getFile

      SimFile getFile(String absPath, boolean bCheckPermission)
      Information provided by the PKI file:
      
          \brief Returns the SimFile given the path and check permission.
          
          \param absPath,     the absolute path to SimFile.
          \param bCheckPermission, true if check permission of file, false otherwise.
          
          \return SimFile, the SimFile of given path.
          
              
      Parameters:
      absPath - Takes in a parameter of absPath
      bCheckPermission - Takes in a parameter of bCheckPermission
      Returns:
      SimFile Returns a SimFile
    • getDirectory

      Directory getDirectory(String absPath, boolean bCheckPermission)
      Information provided by the PKI file:
      
          \brief Returns the Directory given the path and check permission.
          
          \param absPath,     the absolute path to directory.
          \param bCheckPermission, true if check permission of directory, false otherwise.
          
          \return Directory, the directory of given path.
          
              
      Parameters:
      absPath - Takes in a parameter of absPath
      bCheckPermission - Takes in a parameter of bCheckPermission
      Returns:
      Directory Returns a Directory